/*
 * @Author: 肖思汗 
 * @Date: 2025-09-05 17:02:37 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-09-05 17:13:46
 */


import { makeAutoObservable } from "mobx";

class AiImageStore {
    // 添加弹窗显示状态
    show = false;

    constructor() {
        makeAutoObservable(this, {}, { deep: false });
    }

    // 控制弹窗显示的方法
    setShow = (visible: boolean) => {
        this.show = visible;
    };

    // 切换弹窗显示状态
    toggleShow = () => {
        this.show = !this.show;
    };
}

const aiImageStore = new AiImageStore();
export default aiImageStore;
